package com.uff.hmstpa.model.decorator;

import com.uff.hmstpa.model.domain.Specialty;

public class BasicAppointment implements IAppointment {
	
	Specialty specialty;

	public BasicAppointment(Specialty specialty) {
		this.specialty = specialty;
	}
	
	public double getPrice() {
		return this.specialty.getAppointmentPrice();
	}

}
